# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-suds-jurko
pkgver=0.6
pkgrel=5
pkgdesc="Lightweight SOAP client (Jurko's fork)"
options="!check" # test config is too old
url="https://github.com/andersinno/suds-jurko/releases"
arch="noarch"
license="GPL-3.0-only"
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/s/suds-jurko/suds-jurko-$pkgver.zip
	setuptools59.patch
	"
builddir="$srcdir/suds-jurko-$pkgver"

build() {
	2to3 -w suds
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"

	rm -rf "$pkgdir"/usr/lib/python3*/site-packages/tests
}

sha512sums="
a07d5ae7ad0d2fe6720df0e028938afd04df197cb22d1b0446a71f125d4115baae7f6b1304550eaaaebe8289f484be33e514563d7db1afe2c7074be48376d1e9  suds-jurko-0.6.zip
062d1d903458569110e83c7ad50495f64651141e58d3a7008d69253f1947e8577e39b213cd9613758f1c975075a5fba907a779f948c6323208a4aa76c06613cc  setuptools59.patch
"
